<template>
  <div class="category">
    <p></p>
    <h3>{{ title }}分类</h3>
    <slot>默认内容</slot>
  </div>
</template>

<script>
export default {
  name: "Category",
  props:["title"]
}
</script>

<style scoped>
  .category{
    background-color: #0b97c4;
    width: 200px;
    height: 300px;
  }
  h3{
    text-align: center;
    background-color: #01ff70;
  }
  div{
    text-align: center;
  }

</style>
